package com.jiyun.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;

import java.util.Date;

/* *
 * @Author nxj
 * @Date 2023 08 2023/8/4 10 36
 * */
@Data
@ToString
public class Course {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private String photo;
    @TableField(value = "course_name")
    private String courseName;
    private String lid;
    private Integer num;
    private Integer good;
    private Integer uid;
    private Integer sort;
    private String status;
    private String info;
    @JsonFormat(pattern = "yyyy-MM-dd hh")
    private Date createtime;
    @JsonFormat(pattern = "yyyy-MM-dd hh")
    private Date endtime;
    private String redu;
    private String jindu;

}
